package com.cskt.petproject178.service;

import com.cskt.petproject178.pojo.vo.AddressVO;

import java.util.List;

public interface UserService {
    /**
     * 发送验证码
     * @param phone
     * @return
     */
    Boolean sendCode(String phone,Integer codeType);

    /**
     * 登录和注册
     * @param phone
     * @param sms
     * @return
     */
    String login(String phone ,String sms);


    List<AddressVO> selectAddressVOByUserId(Long userId);
}
